<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="common/head :: htmlhead">

<body>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">打印注册文件</div>
                <div class="layui-card-body" pad15>
                    <blockquote class="layui-elem-quote" th:if="${user.usertype eq 0}">您目前未上传审核文件</blockquote>
                    <blockquote class="layui-elem-quote" th:if="${user.usertype eq 1}">您的注册审核文件已经上传，等待管理员审批</blockquote>
                    <blockquote class="layui-elem-quote" th:if="${user.usertype eq -1}">您的注册审核不通过，请联系管理员</blockquote>
                    <button class="layui-btn" id="fileprint" type="button">打印注册审核文件</button>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    layui.config({
        base: '/static/lib/' //静态资源所在路径
    }).extend({
        index: 'index' //主入口模块
    }).use(['index']);

    $("#fileprint").click(function () {
        window.location.href = "/filedownload";
    })

</script>
</body>
</html>